package com.Brave.manager.Demo02;


import java.io.UnsupportedEncodingException;
import java.util.Arrays;

public class Demo01 {
    public static void main(String[] args) throws UnsupportedEncodingException {
        String str = "胖鸡";
        byte[] bys = str.getBytes();
        System.out.println(Arrays.toString(bys));

        String sts = new String(bys,"UTF-8");
        System.out.println(sts);
    }
}
